package com.gqb.spring.bean;


public class BeanA {
	private BeanB beanB;
	private String title;

	
	public BeanB getBeanB() {
		return beanB;
	}

	public void setBeanB(BeanB beanB) {
		this.beanB = beanB;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}
	
	public void init(){
		System.out.println("BeanA 通过在xml 配置init-method来在进行初始化");
	}
}
